package mammuthus.master

import akka.actor.Actor

/**
 * 3/30/15 WilliamZhu(allwefantasy@gmail.com)
 */
//class SlaveMonitor extends Actor{
//  override def preStart = {
//    context.system.eventStream.subscribe(self, classOf[RemoteClientLifeCycleEvent])
//
//  }
//  override def receive: Actor.Receive = {
//    case _: RemoteClientConnected   => updateMasterStatus(newValue = true)
//    case _: RemoteClientWriteFailed => updateMasterStatus(newValue = false)
//    case _: RemoteClientShutdown    => updateMasterStatus(newValue = false)
//  }
//}
